package site.isscloud.project.domain;

import java.math.BigDecimal;
import java.util.List;

/**
 * 米标温度数据
 */
public class MeterTemperatureData {
    /** 米标位置 */
    private Integer meterMark;

    /** 温度类型：max-最高温度, min-最低温度, avg-平均温度 */
    private String temperatureType;

    /** 温度值数组 */
    private List<BigDecimal> temperatureValues;

    public MeterTemperatureData() {
    }

    public MeterTemperatureData(Integer meterMark, String temperatureType, List<BigDecimal> temperatureValues) {
        this.meterMark = meterMark;
        this.temperatureType = temperatureType;
        this.temperatureValues = temperatureValues;
    }

    // Getter and Setter
    public Integer getMeterMark() {
        return meterMark;
    }

    public void setMeterMark(Integer meterMark) {
        this.meterMark = meterMark;
    }

    public String getTemperatureType() {
        return temperatureType;
    }

    public void setTemperatureType(String temperatureType) {
        this.temperatureType = temperatureType;
    }

    public List<BigDecimal> getTemperatureValues() {
        return temperatureValues;
    }

    public void setTemperatureValues(List<BigDecimal> temperatureValues) {
        this.temperatureValues = temperatureValues;
    }

    @Override
    public String toString() {
        return "MeterTemperatureData{" +
                "meterMark=" + meterMark +
                ", temperatureType='" + temperatureType + '\'' +
                ", temperatureValues=" + temperatureValues +
                '}';
    }
}